<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>面试记录</title>
<!-- 导入主题样式 -->
<link rel="stylesheet" href="public/easyui/themes/default/easyui.css" />
<!-- 导入图标库 -->
<link rel="stylesheet" href="public/easyui/themes/icon.css" />
<link rel="stylesheet" href="public/css/app.css" />
<!-- js文件，顺序：jq，easyui，国际化包 -->
<script src="public/js/jquery.min.js"></script>
<script src="public/easyui/jquery.easyui.min.js"></script>
<script src="public/easyui/locale/easyui-lang-zh_CN.js"></script>
<script src="public/js/inter.js"></script>
</head>
<body class="easyui-layout">
	<div border="false" data-options="region:'center'"
		style="padding: 5px; background: #eee;width: 100%;height: 100%">
		<div id="toolbar" style="padding: 5px;">
			<form id="searchForm">
			面试人：<input id="name" name="name" class="easyui-textbox" style="width: 172px;display: none;">
			面试公司：<input id="company" name="company" class="easyui-textbox" style="width: 172px;display: none;">
			面试时间：<input id="start_time" name="start_time" class="easyui-datebox" data-options="editable:false" style="width: 110px; display: none;">
			-<input id="end_time" name="end_time" class="easyui-datebox" data-options="editable:false" style="width: 110px; display: none;">
			<a id="userSearch" onclick="userSearch()" iconCls="icon-search" class="easyui-linkbutton">检索</a>
			<a id="mine" onclick="mine(${user.student.id})" class="easyui-linkbutton" iconcls="icon-filter">我的记录</a>
			<a id="userReset" onclick="userReset()" iconCls="icon-reload" class="easyui-linkbutton">重置</a>
			<a id="add" onclick="add()" style="float: right;" class="easyui-linkbutton" iconcls="icon-add">添加记录</a>
			<a href="/blacklist" target="_blank" class="easyui-linkbutton" style="float: right;margin-right: 10px;">公司黑名单</a>
		</form>
		</div>
		<input type="hidden" id="student" value="${user.student.id }">
		<table id="recepInter" class="easyui-datagrid" 
			data-options="url:'interview/inter',fit:true,rownumbers:true,pagination:true,fitColumns:true,singleSelect:true,toolbar:'#toolbar'">
			<thead>
				<tr>
					<th data-options="field:'student.name',width:100,formatter:stuname">面试人</th>
					<th data-options="field:'company',width:200">面试公司</th>
					<th data-options="field:'ivtime',width:100,align:'right',formatter:intertime">面试时间</th>
					<th data-options="field:'job',width:100,align:'right'">面试职位</th>
					<th data-options="field:'plan',width:100">预案</th>
					<th data-options="field:'message',width:100,formatter:leavmess">老师留言</th>
					<th data-options="field:'admin',width:100,align:'center',formatter:administration">管理</th>
				</tr>
			</thead>
		</table>
	</div>
</body>
</html>